package com.burger.counter.business;

import com.burger.counter.beans.SignatureBurgerBun;
import com.burger.counter.dao.SignatureBurgerBunDao;

public class SignatureBurgerBunBusiness {
	public SignatureBurgerBun[] getSignatureBurgerBunDetails(int regionId) throws Exception{
		System.out.println("we r in business layer");
		SignatureBurgerBunDao signatureBurgerBunDao = new SignatureBurgerBunDao();
		SignatureBurgerBun[] bun=signatureBurgerBunDao.getSignatureBurgerBunDetails(regionId);
		return bun;
	}
	
	public void setSignatureBurgerBunCount(int regionId,String SignatureBurgerBunName) throws Exception{
		System.out.println("we r in business layer");
		SignatureBurgerBunDao SignatureBurgerBunDao = new SignatureBurgerBunDao();
		SignatureBurgerBunDao.setSignatureBurgerBunCount(regionId, SignatureBurgerBunName);
	}	
}
